package com.labichaoka.chaoka.ui.bank.display;

import com.labichaoka.chaoka.entity.BankCardListResponse;
import com.labichaoka.chaoka.entity.IsOpenAcountRequest;
import com.labichaoka.chaoka.entity.IsOpenAcountResponse;

/**
 * Created by ruan on 2018/8/8.
 */

public interface BankCardDisplayInteractor {
    interface OnFinishedListener{
        void onQueryListSuccessed(BankCardListResponse response);
        void onQueryListFailed();

        void onIsOpenAcountSucc(IsOpenAcountResponse response);
        void onIsOpenAcountFailed();
    }

    void getBankList(OnFinishedListener listFinishedListener);
    void isOpenAcount(IsOpenAcountRequest request, OnFinishedListener listener);
}
